package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.dto.DishDto;
import com.itheima.pojo.Dish;

public interface DishService extends IService<Dish> {
    R saveWithFlavor(DishDto dishDto);

    R findPage(Integer page, Integer pageSize, String name);

    R findById(Long id);

    R updateByDishId(DishDto dishDto);

    R delete(Long[] ids);

    R status(Integer id, Long[] ids);


    R findAll(Long categoryId);
}
